// pComboBoxDlg.h : header file
//
//    Copyright 2008,2009 Paul Jorgensen
//
//    This program is free software: you can redistribute it and/or modify
//    it under the terms of the GNU General Public License as published by
//    the Free Software Foundation, either version 3 of the License, or
//    (at your option) any later version.
//
//    This program is distributed in the hope that it will be useful,
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//    GNU General Public License for more details.
//
//    You should have received a copy of the GNU General Public License
//    along with this program.  If not, see <http://www.gnu.org/licenses/>.

#pragma once


// CpComboBoxDlg dialog


class CpComboBoxDlg : public CDialog
{
	friend class CpComboBoxApp;
// Construction
public:
	CpComboBoxDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_PCOMBOBOX_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	
	int pf_UpdateComboBoxList(void);
	afx_msg void OnCbnSelchangeCombo1();
	// list is supposed to be a DDX variable
	CString ps_ListData;
	int IdxCombo1;
	afx_msg void OnBnClickedReturnabort();
	afx_msg void OnBnClickedOk();
	afx_msg void OnBnClickedBhelp();
};
